package com.xl.web.service.zoom;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.xl.base.annotation.DataSource;
import com.xl.core.enums.SourceEnum;
import com.xl.web.dao.zoom.CompanyDao;
import com.xl.web.entity.zoom.Company;
import com.xl.web.entity.zoom.SysUser;
@Service(value = "companyService")
public class CompanyService<T extends Company> {
	@Resource
	private CompanyDao<Company> companyDao;
	@DataSource(source = SourceEnum.TYPE_SLAVE)
	public List<Company> queryCompanyList(Company company){
		List<Company> companys = companyDao.queryCompany(company);
		return companys;
	}
}
